/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

public class XlTotalsCalculation {
	private final int value;

	/** xlTotalsCalculationNone **/
	public static final XlTotalsCalculation None = new XlTotalsCalculation(0);
	/** xlTotalsCalculationSum **/
	public static final XlTotalsCalculation Sum = new XlTotalsCalculation(1);
	/** xlTotalsCalculationAverage **/
	public static final XlTotalsCalculation Average = new XlTotalsCalculation(2);
	/** xlTotalsCalculationCount **/
	public static final XlTotalsCalculation Count = new XlTotalsCalculation(3);
	/** xlTotalsCalculationCountNums **/
	public static final XlTotalsCalculation CountNums = new XlTotalsCalculation(4);
	/** xlTotalsCalculationMin **/
	public static final XlTotalsCalculation Min = new XlTotalsCalculation(5);
	/** xlTotalsCalculationMax **/
	public static final XlTotalsCalculation Max = new XlTotalsCalculation(6);
	/** xlTotalsCalculationStdDev **/
	public static final XlTotalsCalculation StdDev = new XlTotalsCalculation(7);
	/** xlTotalsCalculationVar **/
	public static final XlTotalsCalculation Var = new XlTotalsCalculation(8);
	/** xlTotalsCalculationCustom **/
	public static final XlTotalsCalculation Custom = new XlTotalsCalculation(9);


	private XlTotalsCalculation(int value) { this.value = value; }
	public int getValue() { return this.value; }
	public static XlTotalsCalculation valueOf(int value) { return new XlTotalsCalculation(value); }
	public boolean equals(Object o) {
		if(o == null || o.getClass() != XlTotalsCalculation.class) return false;
		return ((XlTotalsCalculation)o).value == value;
	}
	public int hashCode() { return value; }
}
